package edu.neu.ecommerceplatform.dto;

import java.math.BigDecimal;
import java.util.List;

public class CartResponse {

    private List<CartItemDetailDto> items;
    private BigDecimal totalAmount;

    public CartResponse(List<CartItemDetailDto> items, BigDecimal totalAmount) {
        this.items = items;
        this.totalAmount = totalAmount;
    }

    public List<CartItemDetailDto> getItems() {
        return items;
    }

    public void setItems(List<CartItemDetailDto> items) {
        this.items = items;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }
} 